package com.example.myui.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class MultypeModel implements MultiItemEntity {
    public static final int TEXT_CONTENT = 0;
    public static final int TEXT_DES = 1;
    public static final int TEXT_EMP = 2;

    private List<SchoolModel> content;
    private String des;
    private int type;

    public MultypeModel(List<SchoolModel> content, String des, int type) {
        this.content = content;
        this.des = des;
        this.type = type;
    }

    public List<SchoolModel> getContent() {
        return content;
    }

    public void setContent(List<SchoolModel> content) {
        this.content = content;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "MultypeModel{" +
                "content=" + content +
                ", des='" + des + '\'' +
                ", type=" + type +
                '}';
    }

    @Override
    public int getItemType() {
        return type;
    }
}
